Remove deprecated gdk_app_launch_context_set_display
authorMatthias Clasen <mclasen@redhat.com>
Tue, 25 Oct 2016 19:52:57 +0000 (15:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 25 Oct 2016 19:52:57 +0000 (15:52 -0400)
docs/reference/gdk/gdk4-sections.txt
gdk/gdkapplaunchcontext.c
gdk/gdkapplaunchcontext.h

index c1d3e7df3036b2835e1f9433ec9ffbb2964940c4..c098ce8da5ebb84e6b112e72bf9e231e95788f22 100644 (file)
@@ -1264,7 +1264,6 @@ gdk_wayland_window_get_type
 <TITLE>Application launching</TITLE>
 <FILE>gdkapplaunchcontext</FILE>
 GdkAppLaunchContext
-gdk_app_launch_context_set_display
 gdk_app_launch_context_set_screen
 gdk_app_launch_context_set_desktop
 gdk_app_launch_context_set_timestamp
index f28861f8c3089789e66c478b317408feaa2b1f09..ab19967c45f68f6b0478ded3874df2ff98e00096 100644 (file)
@@ -170,28 +170,6 @@ gdk_app_launch_context_get_display (GAppLaunchContext *context,
   return g_strdup (gdk_display_get_name (display));
 }
 
-/**
- * gdk_app_launch_context_set_display:
- * @context: a #GdkAppLaunchContext
- * @display: a #GdkDisplay
- *
- * Sets the display on which applications will be launched when
- * using this context. See also gdk_app_launch_context_set_screen().
- *
- * Since: 2.14
- *
- * Deprecated: 3.0: Use gdk_display_get_app_launch_context() instead
- */
-void
-gdk_app_launch_context_set_display (GdkAppLaunchContext *context,
-                                    GdkDisplay          *display)
-{
-  g_return_if_fail (GDK_IS_APP_LAUNCH_CONTEXT (context));
-  g_return_if_fail (display == NULL || GDK_IS_DISPLAY (display));
-
-  g_warn_if_fail (display == NULL || display == context->display);
-}
-
 /**
  * gdk_app_launch_context_set_screen:
  * @context: a #GdkAppLaunchContext
index 03545eeeef3db9c9692e1bbe7fdef03f021fb343..3bd98611e947d8f27e77b2e721f27c4bc48a2194 100644 (file)
@@ -40,9 +40,6 @@ G_BEGIN_DECLS
 GDK_AVAILABLE_IN_ALL
 GType                gdk_app_launch_context_get_type      (void);
 
-GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context)
-void                 gdk_app_launch_context_set_display   (GdkAppLaunchContext *context,
-                                                           GdkDisplay          *display);
 GDK_AVAILABLE_IN_ALL
 void                 gdk_app_launch_context_set_screen    (GdkAppLaunchContext *context,
                                                            GdkScreen           *screen);